package com.castile.functional.hiorder;

import com.google.common.collect.Lists;

import java.util.Arrays;
import java.util.List;
import java.util.ListIterator;

/**
 * @description:
 * @author: Castile
 * @create: 2024-04-17 20:02
 * @Version 1.0
 **/
public class InnerLoop {
    public static void main(String[] args) {
        List<Integer> list = Arrays.asList(1, 2, 3, 4, 5, 6, 7);

    }

    public static void hiOrder(List<Integer> list){
        ListIterator<Integer> iterator = list.listIterator();
        while (iterator.hasPrevious()){
            Integer value = iterator.previous();

        }
    }
}
